package Composite;

import fichiers.*;
import Composite.Element;
import java.io.*;
import javax.swing.*;


public class GIF extends Photo{
    
    public GIF(Element pere, File courant, String nom) {
       
        super(pere, courant, nom);
        this.setType("Photo");
    }

        public ImageIcon getRepresentation() {

        return Element.gif;
    }
        
        
    public String getExtension(){
        
        return ".gif";
    }
}
